package javaclass;

import java.util.ArrayList;
import java.util.List;

public enum ProductType {
    NUTS, FRUITS, CHOCOLATE_NUTS, REDCURRANT_FRUITS;
    
    public static List<ProductType> getProductTypes()
    {
        List<ProductType> temp= new ArrayList<ProductType>();
        temp.add(ProductType.NUTS);
        temp.add(ProductType.FRUITS);
        temp.add(ProductType.CHOCOLATE_NUTS);
        temp.add(ProductType.REDCURRANT_FRUITS);
        return temp;
    }
}
